package com.online.music.entity.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

import io.swagger.v3.oas.annotations.media.Schema;

import lombok.Data;

/**
 * @Author: Leno
 * @Date: 2025-01-31
 * @Description:
 */
@Data
@Schema(name = "Type对象", description = "")
public class Type implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "类型id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "类型名称")
    private String name;

    @Schema(description = "类型排序")
    private String sort;

}

